package com.coolapk.mapper;

import com.coolapk.entity.FavoriteContent;
import com.coolapk.entity.FavoriteContentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FavoriteContentMapper {
    long countByExample(FavoriteContentExample example);

    int deleteByExample(FavoriteContentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FavoriteContent record);

    int insertSelective(FavoriteContent record);

    List<FavoriteContent> selectByExample(FavoriteContentExample example);

    FavoriteContent selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FavoriteContent record, @Param("example") FavoriteContentExample example);

    int updateByExample(@Param("record") FavoriteContent record, @Param("example") FavoriteContentExample example);

    int updateByPrimaryKeySelective(FavoriteContent record);

    int updateByPrimaryKey(FavoriteContent record);
}